package com.itheima.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface MemberService {

    //移动端登录
    void msmLogin(String telephone);

    //获取会员统计数据
    Map<String, Object> getMemberReport() throws Exception;

    //时间段展示会员数量折线图
    Map<String,Object> getMemberReportByDate(List<Date> date) throws Exception;

    //根据会员性别展示--饼状图
    Map<String, Object> getMemberSex();

    //会员各个年龄段的占比
    List<Map<String,Object>> getAgeReport() throws Exception;
}
